﻿namespace KaroEngine.Exceptions
{
    public class InvalidJumpException : InvalidMoveException
    {
        public InvalidJumpException()
                : base("Invalid jump")
        {
        }

        public InvalidJumpException(Move move)
                : base ("Invalid jump from " + move.PositionFrom + " to " + move.PositionTo + " using tile " + move.TilePositionToMove, move)
        {
        }
    }
}